<%
var headerPart = {
%>
<link rel="stylesheet" href="${ctxStatic }/micro/src/css/admin.css" media="all" />
<style>
    html{
        background-color: #f2f2f2;
    }
</style>
<% }; %>
<% layout("/layouts/micro.html",{headerSection:headerPart}){ %>
    <div class="layui-fluid">
        <div class="layui-row layui-col-space15">
            <div class="layui-col-md8">
                <div class="layui-row layui-col-space15">
                    <div class="layui-col-md6">
                        <div class="layui-card">
                            <div class="layui-card-header">快捷方式</div>
                            <div class="layui-card-body">
                                <div class="layui-carousel layadmin-carousel layadmin-shortcut" lay-anim="" lay-indicator="inside" lay-arrow="none" style="width: 100%; height: 280px;">
                                    <div carousel-item="">
                                        <ul class="layui-row layui-col-space10 layui-this">
                                            <li class="layui-col-xs3">
                                                <a href="javascript:void(0);" onclick="toView(this)" data-url="/sys/user/info" data-icon="fa-user" data-title="主页一" data-id='2'>
                                                    <i class="layui-icon layui-icon-console"></i>
                                                    <cite>主页一</cite>
                                                </a>
                                            </li>
                                            <li class="layui-col-xs3">
                                                <a lay-href="home/homepage2.html" onclick="toView()">
                                                    <i class="layui-icon layui-icon-chart"></i>
                                                    <cite>主页二</cite>
                                                </a>
                                            </li>
                                            <li class="layui-col-xs3">
                                                <a lay-href="component/layer/list.html">
                                                    <i class="layui-icon layui-icon-template-1"></i>
                                                    <cite>弹层</cite>
                                                </a>
                                            </li>
                                            <li class="layui-col-xs3">
                                                <a layadmin-event="im">
                                                    <i class="layui-icon layui-icon-chat"></i>
                                                    <cite>聊天</cite>
                                                </a>
                                            </li>
                                            <li class="layui-col-xs3">
                                                <a lay-href="component/progress/index.html">
                                                    <i class="layui-icon layui-icon-find-fill"></i>
                                                    <cite>进度条</cite>
                                                </a>
                                            </li>
                                            <li class="layui-col-xs3">
                                                <a lay-href="app/workorder/list.html">
                                                    <i class="layui-icon layui-icon-survey"></i>
                                                    <cite>工单</cite>
                                                </a>
                                            </li>
                                            <li class="layui-col-xs3">
                                                <a lay-href="user/user/list.html">
                                                    <i class="layui-icon layui-icon-user"></i>
                                                    <cite>用户</cite>
                                                </a>
                                            </li>
                                            <li class="layui-col-xs3">
                                                <a lay-href="set/system/website.html">
                                                    <i class="layui-icon layui-icon-set"></i>
                                                    <cite>设置</cite>
                                                </a>
                                            </li>
                                        </ul>
                                        <ul class="layui-row layui-col-space10">
                                            <li class="layui-col-xs3">
                                                <a lay-href="set/user/info.html">
                                                    <i class="layui-icon layui-icon-set"></i>
                                                    <cite>我的资料</cite>
                                                </a>
                                            </li>
                                            <li class="layui-col-xs3">
                                                <a lay-href="set/user/info.html">
                                                    <i class="layui-icon layui-icon-set"></i>
                                                    <cite>我的资料</cite>
                                                </a>
                                            </li>
                                            <li class="layui-col-xs3">
                                                <a lay-href="set/user/info.html">
                                                    <i class="layui-icon layui-icon-set"></i>
                                                    <cite>我的资料</cite>
                                                </a>
                                            </li>
                                            <li class="layui-col-xs3">
                                                <a lay-href="set/user/info.html">
                                                    <i class="layui-icon layui-icon-set"></i>
                                                    <cite>我的资料</cite>
                                                </a>
                                            </li>
                                            <li class="layui-col-xs3">
                                                <a lay-href="set/user/info.html">
                                                    <i class="layui-icon layui-icon-set"></i>
                                                    <cite>我的资料</cite>
                                                </a>
                                            </li>
                                            <li class="layui-col-xs3">
                                                <a lay-href="set/user/info.html">
                                                    <i class="layui-icon layui-icon-set"></i>
                                                    <cite>我的资料</cite>
                                                </a>
                                            </li>
                                            <li class="layui-col-xs3">
                                                <a lay-href="set/user/info.html">
                                                    <i class="layui-icon layui-icon-set"></i>
                                                    <cite>我的资料</cite>
                                                </a>
                                            </li>
                                            <li class="layui-col-xs3">
                                                <a lay-href="set/user/info.html">
                                                    <i class="layui-icon layui-icon-set"></i>
                                                    <cite>我的资料</cite>
                                                </a>
                                            </li>
                                        </ul>

                                    </div>
                                    <div class="layui-carousel-ind">
                                        <ul>
                                            <li class="layui-this"></li>
                                            <li class=""></li>
                                        </ul>
                                    </div>
                                    <button class="layui-icon layui-carousel-arrow" lay-type="sub"></button>
                                    <button class="layui-icon layui-carousel-arrow" lay-type="add"></button>
                                </div>

                            </div>
                        </div>
                    </div>
                    <div class="layui-col-md6">
                        <div class="layui-card">
                            <div class="layui-card-header">待办事项</div>
                            <div class="layui-card-body">

                                <div class="layui-carousel layadmin-carousel layadmin-backlog" lay-anim="" lay-indicator="inside" lay-arrow="none" style="width: 100%; height: 280px;">
                                    <div carousel-item="">
                                        <ul class="layui-row layui-col-space10 layui-this">
                                            <li class="layui-col-xs6">
                                                <a lay-href="app/content/comment.html" class="layadmin-backlog-body">
                                                    <h3>待审评论</h3>
                                                    <p><cite>66</cite></p>
                                                </a>
                                            </li>
                                            <li class="layui-col-xs6">
                                                <a lay-href="app/forum/list.html" class="layadmin-backlog-body">
                                                    <h3>待审帖子</h3>
                                                    <p><cite>12</cite></p>
                                                </a>
                                            </li>
                                            <li class="layui-col-xs6">
                                                <a lay-href="template/goodslist.html" class="layadmin-backlog-body">
                                                    <h3>待审商品</h3>
                                                    <p><cite>99</cite></p>
                                                </a>
                                            </li>
                                            <li class="layui-col-xs6">
                                                <a href="javascript:;" onclick="layer.tips('不跳转', this, {tips: 3});" class="layadmin-backlog-body">
                                                    <h3>待发货</h3>
                                                    <p><cite>20</cite></p>
                                                </a>
                                            </li>
                                        </ul>
                                        <ul class="layui-row layui-col-space10">
                                            <li class="layui-col-xs6">
                                                <a href="javascript:;" class="layadmin-backlog-body">
                                                    <h3>待审友情链接</h3>
                                                    <p><cite style="color: #FF5722;">5</cite></p>
                                                </a>
                                            </li>
                                        </ul>
                                    </div>
                                    <div class="layui-carousel-ind">
                                        <ul>
                                            <li class="layui-this"></li>
                                            <li class=""></li>
                                        </ul>
                                    </div>
                                    <button class="layui-icon layui-carousel-arrow" lay-type="sub"></button>
                                    <button class="layui-icon layui-carousel-arrow" lay-type="add"></button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="layui-col-md4">
                <!--<div class="layui-card">
                    <div class="layui-card-header">版本信息</div>
                    <div class="layui-card-body layui-text">
                        <table class="layui-table">
                            <colgroup>
                                <col width="100">
                                <col>
                            </colgroup>
                            <tbody>
                            <tr>
                                <td>当前版本</td>
                                <td>
                                    v1.0.0 <a href="http://fly.layui.com/docs/3/" target="_blank" style="padding-left: 15px;">更新日志</a>
                                </td>
                            </tr>
                            <tr>
                                <td>基于框架</td>
                                <td>
                                   layui-v2.4.2
                                </td>
                            </tr>
                            <tr>
                                <td>主要特色</td>
                                <td>零门槛 / 响应式 / 清爽 / 极简</td>
                            </tr>
                            <tr>
                                <td>获取渠道</td>
                                <td style="padding-bottom: 0;">
                                    <div class="layui-btn-container">
                                        <a href="javascript:void(0);" target="_blank" class="layui-btn layui-btn-danger">公共法律服务APP下载</a>
                                    </div>
                                </td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                </div>-->


                <div class="layui-card">
                    <div class="layui-card-header">
                        平台介绍
                        <i class="layui-icon layui-icon-tips" lay-tips="更多介绍" lay-offset="5"></i>
                    </div>
                    <div class="layui-card-body layui-text layadmin-text">
                        <p>公共法律服务平台。</p>
                    </div>
                </div>
            </div>

        </div>
</div>
	<script type="text/javascript">
		layui.use(['form','element','layer','jquery','carousel'],function(){
		    var form = layui.form,
		        layer = parent.layer === undefined ? layui.layer : top.layer, i = layui.device(),t = layui.carousel,
                element = layui.element;
		        $ = layui.jquery;
            $(".layadmin-carousel").each(function () {
                var a = $(this);
                t.render({
                    elem: this,
                    width: "100%",
                    arrow: "none",
                    interval: a.data("interval"),
                    autoplay: a.data("autoplay") === !0,
                    trigger: i.ios || i.android ? "click" : "hover",
                    anim: a.data("anim")
                })
            })
		});
        toView = function (obj) {
            var id = $(obj).data('id');
            var title = $(obj).data('title');
            var icon = $(obj).data('icon');
            var url = $(obj).data('url');
            parent.tab.tabAdd({
                "id": id,
                "title": title,
                "icon": icon,
                "url": url
            });
        }
	</script>
<%}%>